package com.hy.medicine.evaluation.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class MedicineEvaluationDTO {
    // 订单ID改为可选
    private Integer orderId;
    
    @NotNull(message = "药品ID不能为空")
    private Integer medicineId;
    
    @NotNull(message = "评分不能为空")
    private Integer evaluationScore;
    
    @NotBlank(message = "评价内容不能为空")
    private String evaluationContent;
    
    // 其他必要字段...
} 